﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C75 RID: 3189
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class NNBCDCCANHI : IMessage<NNBCDCCANHI>, IMessage, IEquatable<NNBCDCCANHI>, IDeepCloneable<NNBCDCCANHI>, IBufferMessage
	{
		// Token: 0x17002823 RID: 10275
		// (get) Token: 0x06008E7E RID: 36478 RVA: 0x0017A7E9 File Offset: 0x001789E9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<NNBCDCCANHI> Parser
		{
			get
			{
				return NNBCDCCANHI._parser;
			}
		}

		// Token: 0x17002824 RID: 10276
		// (get) Token: 0x06008E7F RID: 36479 RVA: 0x0017A7F0 File Offset: 0x001789F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return NNBCDCCANHIReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002825 RID: 10277
		// (get) Token: 0x06008E80 RID: 36480 RVA: 0x0017A802 File Offset: 0x00178A02
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return NNBCDCCANHI.Descriptor;
			}
		}

		// Token: 0x06008E81 RID: 36481 RVA: 0x0017A809 File Offset: 0x00178A09
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NNBCDCCANHI()
		{
		}

		// Token: 0x06008E82 RID: 36482 RVA: 0x0017A811 File Offset: 0x00178A11
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NNBCDCCANHI(NNBCDCCANHI other) : this()
		{
			this.eEFBHBMOCPL_ = other.eEFBHBMOCPL_;
			this.fightGameMode_ = other.fightGameMode_;
			this.bONDMLPOCMG_ = other.bONDMLPOCMG_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008E83 RID: 36483 RVA: 0x0017A84E File Offset: 0x00178A4E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NNBCDCCANHI Clone()
		{
			return new NNBCDCCANHI(this);
		}

		// Token: 0x17002826 RID: 10278
		// (get) Token: 0x06008E84 RID: 36484 RVA: 0x0017A856 File Offset: 0x00178A56
		// (set) Token: 0x06008E85 RID: 36485 RVA: 0x0017A85E File Offset: 0x00178A5E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ulong EEFBHBMOCPL
		{
			get
			{
				return this.eEFBHBMOCPL_;
			}
			set
			{
				this.eEFBHBMOCPL_ = value;
			}
		}

		// Token: 0x17002827 RID: 10279
		// (get) Token: 0x06008E86 RID: 36486 RVA: 0x0017A867 File Offset: 0x00178A67
		// (set) Token: 0x06008E87 RID: 36487 RVA: 0x0017A86F File Offset: 0x00178A6F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FightGameMode
		{
			get
			{
				return this.fightGameMode_;
			}
			set
			{
				this.fightGameMode_ = value;
			}
		}

		// Token: 0x17002828 RID: 10280
		// (get) Token: 0x06008E88 RID: 36488 RVA: 0x0017A878 File Offset: 0x00178A78
		// (set) Token: 0x06008E89 RID: 36489 RVA: 0x0017A880 File Offset: 0x00178A80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BONDMLPOCMG
		{
			get
			{
				return this.bONDMLPOCMG_;
			}
			set
			{
				this.bONDMLPOCMG_ = value;
			}
		}

		// Token: 0x06008E8A RID: 36490 RVA: 0x0017A889 File Offset: 0x00178A89
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as NNBCDCCANHI);
		}

		// Token: 0x06008E8B RID: 36491 RVA: 0x0017A898 File Offset: 0x00178A98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(NNBCDCCANHI other)
		{
			return other != null && (other == this || (this.EEFBHBMOCPL == other.EEFBHBMOCPL && this.FightGameMode == other.FightGameMode && this.BONDMLPOCMG == other.BONDMLPOCMG && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008E8C RID: 36492 RVA: 0x0017A8F4 File Offset: 0x00178AF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.EEFBHBMOCPL != 0UL)
			{
				num ^= this.EEFBHBMOCPL.GetHashCode();
			}
			if (this.FightGameMode != 0U)
			{
				num ^= this.FightGameMode.GetHashCode();
			}
			if (this.BONDMLPOCMG != 0U)
			{
				num ^= this.BONDMLPOCMG.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008E8D RID: 36493 RVA: 0x0017A965 File Offset: 0x00178B65
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008E8E RID: 36494 RVA: 0x0017A96D File Offset: 0x00178B6D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008E8F RID: 36495 RVA: 0x0017A978 File Offset: 0x00178B78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.EEFBHBMOCPL != 0UL)
			{
				output.WriteRawTag(8);
				output.WriteUInt64(this.EEFBHBMOCPL);
			}
			if (this.FightGameMode != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.FightGameMode);
			}
			if (this.BONDMLPOCMG != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.BONDMLPOCMG);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008E90 RID: 36496 RVA: 0x0017A9EC File Offset: 0x00178BEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.EEFBHBMOCPL != 0UL)
			{
				num += 1 + CodedOutputStream.ComputeUInt64Size(this.EEFBHBMOCPL);
			}
			if (this.FightGameMode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FightGameMode);
			}
			if (this.BONDMLPOCMG != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BONDMLPOCMG);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008E91 RID: 36497 RVA: 0x0017AA5C File Offset: 0x00178C5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(NNBCDCCANHI other)
		{
			if (other == null)
			{
				return;
			}
			if (other.EEFBHBMOCPL != 0UL)
			{
				this.EEFBHBMOCPL = other.EEFBHBMOCPL;
			}
			if (other.FightGameMode != 0U)
			{
				this.FightGameMode = other.FightGameMode;
			}
			if (other.BONDMLPOCMG != 0U)
			{
				this.BONDMLPOCMG = other.BONDMLPOCMG;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008E92 RID: 36498 RVA: 0x0017AAC0 File Offset: 0x00178CC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008E93 RID: 36499 RVA: 0x0017AACC File Offset: 0x00178CCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 16U)
					{
						if (num != 24U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.BONDMLPOCMG = input.ReadUInt32();
						}
					}
					else
					{
						this.FightGameMode = input.ReadUInt32();
					}
				}
				else
				{
					this.EEFBHBMOCPL = input.ReadUInt64();
				}
			}
		}

		// Token: 0x0400365A RID: 13914
		private static readonly MessageParser<NNBCDCCANHI> _parser = new MessageParser<NNBCDCCANHI>(() => new NNBCDCCANHI());

		// Token: 0x0400365B RID: 13915
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400365C RID: 13916
		public const int EEFBHBMOCPLFieldNumber = 1;

		// Token: 0x0400365D RID: 13917
		private ulong eEFBHBMOCPL_;

		// Token: 0x0400365E RID: 13918
		public const int FightGameModeFieldNumber = 2;

		// Token: 0x0400365F RID: 13919
		private uint fightGameMode_;

		// Token: 0x04003660 RID: 13920
		public const int BONDMLPOCMGFieldNumber = 3;

		// Token: 0x04003661 RID: 13921
		private uint bONDMLPOCMG_;
	}
}
